package com.ruoyi.dgw.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 耳标申请对象 tag_number_va
 * 
 * @author ll
 * @date 2021-12-29
 */
@ApiModel(value = "耳标申请类实体")
public class TagNumberVa
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("id")
    private Long id;

    /** 申请人姓名 */
    @Excel(name = "申请人姓名")
    @ApiModelProperty("申请人姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty("手机号")
    private String phone;

    /** 育龄 */
    @Excel(name = "育龄")
    @ApiModelProperty("育龄")
    private Long age;

    /** 申请数量 */
    @Excel(name = "申请数量")
    @ApiModelProperty("申请数量")
    private Long vaSum;

    /** 入栏时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入栏时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("入栏时间")
    private Date lairageTime;

    /** 1：肉牛，2：母牛,3：牛犊，4：育肥牛 */
    @Excel(name = "牛种类")
    @ApiModelProperty(name="种类",value = "1：肉牛，2：母牛,3：牛犊，4：育肥牛")
    private String cowType;

    /** 申请单号 */
    @Excel(name = "申请单号")
    private String odd;

    /** 总金额 */
    @Excel(name = "总金额")
    private String money;

    /** 1：未付款，2：已付款 */
    @Excel(name = "1：未付款，2：已付款")
    private Long status;

    /** 1:未发货，2：已发货 */
    @Excel(name = "1:未发货，2：已发货")
    private Long clearStatus;

    /** 申请人账号名称 */
    @Excel(name = "申请人账号名称")
    private String creatBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setVaSum(Long vaSum) 
    {
        this.vaSum = vaSum;
    }

    public Long getVaSum() 
    {
        return vaSum;
    }
    public void setLairageTime(Date lairageTime) 
    {
        this.lairageTime = lairageTime;
    }

    public Date getLairageTime() 
    {
        return lairageTime;
    }
    public void setCowType(String cowType)
    {
        this.cowType = cowType;
    }

    public String getCowType()
    {
        return cowType;
    }
    public void setOdd(String odd) 
    {
        this.odd = odd;
    }

    public String getOdd() 
    {
        return odd;
    }
    public void setMoney(String money) 
    {
        this.money = money;
    }

    public String getMoney() 
    {
        return money;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setClearStatus(Long clearStatus) 
    {
        this.clearStatus = clearStatus;
    }

    public Long getClearStatus() 
    {
        return clearStatus;
    }
    public void setCreatBy(String creatBy) 
    {
        this.creatBy = creatBy;
    }

    public String getCreatBy() 
    {
        return creatBy;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("age", getAge())
            .append("vaSum", getVaSum())
            .append("lairageTime", getLairageTime())
            .append("cowType", getCowType())
            .append("odd", getOdd())
            .append("money", getMoney())
            .append("status", getStatus())
            .append("clearStatus", getClearStatus())
            .append("creatBy", getCreatBy())
            .append("creatTime", getCreatTime())
            .append("address", getAddress())
            .toString();
    }
}
